import request from '@/utils/request'

// 查询盒子服务APK信息
export function getBoxApkInfo(type) {
  return request({
    url: '/deviceBox/boxinfo/apk/info',
    method: 'get',
    params: {
      type
    }
  })
}

// 更新盒子服务APK信息
export function updateBoxApkInfo(data) {
  return request({
    url: '/deviceBox/boxinfo/apk/update',
    method: 'post',
    data: data,
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  })
} 